package com.example.spring_blog.pojo.request;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class UpdateUserRequest {
    @NotNull(message = "用户id不能为空")
    private Integer id;
    @NotNull(message = "用户名不能为空")
    @NotBlank(message = "用户名不能为空字符")
    private String userName;
    @NotNull(message = "githubUrl不能为空")
    @NotBlank(message = "githubUrl不能为空字符")
    private String githubUrl;
}
